package com.wego.upms.mapper;

import com.wego.upms.model.UpmsUserOrganization;
import com.wego.upms.model.UpmsUserOrganizationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UpmsUserOrganizationMapper {
    long countByExample ( UpmsUserOrganizationExample example );

    int deleteByExample ( UpmsUserOrganizationExample example );

    int deleteByPrimaryKey ( Integer userOrganizationId );

    int insert ( UpmsUserOrganization record );

    int insertSelective ( UpmsUserOrganization record );

    List<UpmsUserOrganization> selectByExample ( UpmsUserOrganizationExample example );

    UpmsUserOrganization selectByPrimaryKey ( Integer userOrganizationId );

    int updateByExampleSelective ( @Param("record") UpmsUserOrganization record, @Param("example") UpmsUserOrganizationExample example );

    int updateByExample ( @Param("record") UpmsUserOrganization record, @Param("example") UpmsUserOrganizationExample example );

    int updateByPrimaryKeySelective ( UpmsUserOrganization record );

    int updateByPrimaryKey ( UpmsUserOrganization record );
}